<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>组织添加</title> 
<#include "../../commonUse.html"/>

<script src="${ctx.contextPath}/pages/system/org/js/org_update.js"></script>
<script src="${ctx.contextPath}/pages/system/org/js/org_tree_add_edit.js"></script>
<script src="${ctx.contextPath}/pages/system/org/js/org_tree_area.js"></script>
<script>
	var parentOrgName = "${org.PARENT_ORG_NAME}";
	var parentRecid = "${org.PARENT_RECID}";
</script>
</head>
<body>

	<div class="list-template">
		<div class="m-head m-head-p">
			<div class="left">
				<label class="title">组织修改</label>
			</div>
			<div class="right">
				<div class="flow"></div>
			</div>
			<img class="panel-close" src="../images/card-close.png"
				onclick="parent.closeDialogWin();" />
		</div>
		<div class="m-page">
			<form method="post" id="form1" name="form1">
				<input type="hidden" id="recId" name="recId" value="${org.REC_ID}">
				<div class="l-edit" id='main_div'>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td class="font" width="15%">组织名称：<span class="empt">*</span></td>
							<td width="35%"><input type="text"
								value="${org.ORG_NAME}" id="orgName" name="orgName"
								class="text"></input></td>
						</tr>
						<tr>
							<td width="15%" class="font">上级组织：<span class="empt">*</span></td>
							<td width="35%"><input type="text" disabled="disabled"
								id="orgPName" name="orgPName" class="text"
								value="${org.PARENT_ORG_NAME}"></input></td>
						</tr>
						<!-- <tr style="display: none;">
							<td class="font" >上级组织：<span class="empt">*</span></td>
							<td >

								<div>
									<ul class="list">
										<li class="title"><input class="text" id="orgPName"
											type="text" readonly value="${org.PARENT_ORG_NAME}"
											style="width: 150px;" onclick="showMenu();" /></li>
									</ul>
									<input id="orgPCode" type="hidden" name="orgPCode"
										value="${org.PARENT_RECID}" />
								</div>
								<div id="menuContent" class="menuContent"
									style="display: none; position: absolute;">
									<ul id="treeDemo" class="ztree"
										style="margin-top: 0; width: 180px; height: 300px;"></ul>
								</div>
							</td>
						</tr> -->
						
						<tr>
				<td class="font" width="15%">区域：<span class="empt">*</span></td>
				<td width="35%">		
				    <div >
						<ul class="list">
							<li class="title">
							    <input class="text" id="areaName" name="areaName" type="text"  value="${org.AREA_NAME}" style="width:150px;" onclick="areaShowMenu();" />
							 </li>
						</ul>
						        <input id="areaCode" type="hidden" name="areaCode" value="${org.AREA_CODE}" />
					</div>
						
			 	     <div id="areatree" class="areatree" style="display:none; position: absolute;">
				 	     <ul id="areatreeDemo" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
				    </div> 
				</td>
			</tr>			
					</table>

					<div class="edit-btn">
						<ul>
							<li id="checkSaveBtn" class="btn" onclick="orgUpdate();">保
								存</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>